Class AsaAccessGroupManagerImpl

java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.AsaAccessGroupManagerImpl
All Implemented Interfaces:
IPCObject, AsaAccessGroupManager

public class AsaAccessGroupManagerImpl extends IPCObjectImpl implements AsaAccessGroupManager
Information provided by the PKI file:

    \class CAsaAccessGroupManager
    
    \brief CAsaAccessGroupManager is the asa object storage manager class that is used to store and retrieve asa object.
    
    \example network().getDevice("Router0").getObjectManager()->getObjectByName("objectName")
    
Author:
Auto-generated
  • Constructor Details

  • Method Details

    • deleteAccessGroupWithNameIf

      public boolean deleteAccessGroupWithNameIf(String nameIf)
      Information provided by the PKI file:
      
          \brief delete the access-group that associates with the specified nameIf.
          
          \param nameIf, the nameIf of the interface that has access-list applied on.
          
              
      Specified by:
      deleteAccessGroupWithNameIf in interface AsaAccessGroupManager
      Parameters:
      nameIf - Takes in a parameter of nameIf
      Returns:
      boolean Returns a boolean
    • deleteAccessGroup

      public boolean deleteAccessGroup(Direction direction, String nameIf, String aclId)
      Information provided by the PKI file:
      
          \brief delete the access-group that associates with the specified nameIf, aclId and in a certain direction.
          
          \param direction, the traffic direction
          \param nameIf, nameIf of the interface that has the acl applied on
          \param aclId, acl id of the acl
          
              
      Specified by:
      deleteAccessGroup in interface AsaAccessGroupManager
      Parameters:
      direction - Takes in a parameter of direction
      nameIf - Takes in a parameter of nameIf
      aclId - Takes in a parameter of aclId
      Returns:
      boolean Returns a boolean
    • addAccessGroup

      public boolean addAccessGroup(Direction direction, String nameIf, String aclId)
      Information provided by the PKI file:
      
          \brief add a new access-group.
          \param direction, the traffic direction eIn =0,
          eOut,
          eGlobal
          \param nameIf, nameIf of the interface that has the acl applied on
          \param aclId,  acl id of the acl.
          
          \return bool, value is true if the add was successful, false if not.
          
              
      Specified by:
      addAccessGroup in interface AsaAccessGroupManager
      Parameters:
      direction - Takes in a parameter of direction
      nameIf - Takes in a parameter of nameIf
      aclId - Takes in a parameter of aclId
      Returns:
      boolean Returns a boolean
    • getAccessGroupAt

      public AsaAccessGroup getAccessGroupAt(int index)
      Information provided by the PKI file:
      
          \brief Return the access-group at a specified index.
          \param index, index of the access group to get.  Range (0, getAccessGroupCount()).
          
              
      Specified by:
      getAccessGroupAt in interface AsaAccessGroupManager
      Parameters:
      index - Takes in a parameter of index
      Returns:
      AsaAccessGroup Returns a AsaAccessGroup
    • getAccessGroupCount

      public int getAccessGroupCount()
      Information provided by the PKI file:
      
          \brief Return the number of access-group configured.
          
          \return int, value is how many access groups there are total.
          
              
      Specified by:
      getAccessGroupCount in interface AsaAccessGroupManager
      Returns:
      int Returns a int